package cn.likole.oj.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * Created by likole on 8/4/18.
 * 商城
 */
@Table("shop_item")
public class ShopItem {

    /**
     * 主键
     */
    @Id
    private int shopItemId;

    /**
     * 物品id
     */
    @Column
    private int goodsId;

    /**
     * 数量,-1代表无限数量
     */
    @Column
    private int num;
}
